package middleware

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func HandleError() gin.HandlerFunc  {
	return func(ctx *gin.Context) {
		ctx.Redirect(http.StatusMovedPermanently,"/")
	}
}
